package com.hello.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hello.entity.Petcard;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

public interface PetcardMapper extends BaseMapper<Petcard> {
    @Select("SELECT MAX(id) FROM pet_card")
    Long getMaxId();
}
